SuccessConsole Output

Started by upstream project "Papyrus-Compare-2018-12-Nightly" build number 733
originally caused by:
 Started by timer
Running as SYSTEM
Building in workspace /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace
No credentials specified
 > /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/local/bin/git config remote.origin.url /gitroot/papyrus/org.eclipse.papyrus-collaborativemodeling.git # timeout=10
Fetching upstream changes from /gitroot/papyrus/org.eclipse.papyrus-collaborativemodeling.git
 > /usr/local/bin/git --version # timeout=10
 > /usr/local/bin/git fetch --tags --progress -- /gitroot/papyrus/org.eclipse.papyrus-collaborativemodeling.git +refs/heads/*:refs/remotes/origin/*
 > /usr/local/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/local/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision f49c1d99fae0cf315ff183197a3004481dc9aafe (refs/remotes/origin/master)
 > /usr/local/bin/git config core.sparsecheckout # timeout=10
 > /usr/local/bin/git checkout -f f49c1d99fae0cf315ff183197a3004481dc9aafe
Commit message: "Bug 552115 - Papyrus CDO server product should build on 2019-09"
 > /usr/local/bin/git rev-list --no-walk f49c1d99fae0cf315ff183197a3004481dc9aafe # timeout=10
[workspace] $ /bin/sh -xe /tmp/genie.papyrus/jenkins1964371913872981446.sh
+ set -eu
+ /bin/sh compare/releng/scripts/publish-nightly.sh -v 0.7.0 -r ../../Papyrus-Compare-2018-12-Nightly/workspace/repository/ -b nightly -i 2019-11-04_19-28-23
++ dirname compare/releng/scripts/publish-nightly.sh
+ source compare/releng/scripts/common.sh
++ set -ux
++ export P2_ADMIN_PATH=/shared/modeling/emf/compare/p2-admin
++ P2_ADMIN_PATH=/shared/modeling/emf/compare/p2-admin
++ export PAPYRUS_COMPARE_UPDATES_ROOT=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ PAPYRUS_COMPARE_UPDATES_ROOT=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ export PAPYRUS_COMPARE_UPDATES_BASE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ PAPYRUS_COMPARE_UPDATES_BASE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ NIGHTLY=nightly
++ NIGHTLY_PREFIX=N
++ INTEGRATION=integration
++ INTEGRATION_PREFIX=I
++ RELEASE=release
++ RELEASE_PREFIX=R
++ PREFIXES=NIR
++ VERSION_PATTERN='([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?'
++ [[ linux-gnu == \l\i\n\u\x* ]]
++ alias 'sed-regex=sed -r'
++ alias find-regex=findGnuRegex
++ chmod u+x /shared/modeling/emf/compare/p2-admin
chmod: changing permissions of ‘/shared/modeling/emf/compare/p2-admin’: Operation not permitted
++ alias 'p2-admin=/shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_*.jar'
++ alias 'composite-repository=p2-admin -application org.eclipselabs.equinox.p2.composite.repository -compressed'
+ BUILD_TYPE=nightly
++ basename compare/releng/scripts/publish-nightly.sh
+ PROG=publish-nightly.sh
+ REPOSITORY_PATH=plugins/compare/org.eclipse.papyrus.compare.p2/target/repository
+ HELP=false
+ SHORT_OPT_STRING=hw:b:i:v:r:
+ getopt -T
+ '[' 4 -eq 4 ']'
++ getopt --name publish-nightly.sh --long help,workspace:,build-type:,build-id:,version:,repository: --options hw:b:i:v:r: -- -v 0.7.0 -r ../../Papyrus-Compare-2018-12-Nightly/workspace/repository/ -b nightly -i 2019-11-04_19-28-23
+ ARGS=' -v '\''0.7.0'\'' -r '\''../../Papyrus-Compare-2018-12-Nightly/workspace/repository/'\'' -b '\''nightly'\'' -i '\''2019-11-04_19-28-23'\'' --'
+ '[' 0 -ne 0 ']'
+ eval set -- -v ''\''0.7.0'\''' -r ''\''../../Papyrus-Compare-2018-12-Nightly/workspace/repository/'\''' -b ''\''nightly'\''' -i ''\''2019-11-04_19-28-23'\''' --
++ set -- -v 0.7.0 -r ../../Papyrus-Compare-2018-12-Nightly/workspace/repository/ -b nightly -i 2019-11-04_19-28-23 --
+ '[' 9 -gt 0 ']'
+ case "$1" in
+ VERSION=0.7.0
+ shift
+ shift
+ '[' 7 -gt 0 ']'
+ case "$1" in
+ REPOSITORY_PATH=../../Papyrus-Compare-2018-12-Nightly/workspace/repository/
+ shift
+ shift
+ '[' 5 -gt 0 ']'
+ case "$1" in
+ BUILD_TYPE=nightly
+ shift
+ shift
+ '[' 3 -gt 0 ']'
+ case "$1" in
+ BUILD_ID=2019-11-04_19-28-23
+ shift
+ shift
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ shift
+ break
+ '[' false = true ']'
+ '[' -z /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace ']'
+ '[' '!' -d /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace ']'
+ '[' -z ../../Papyrus-Compare-2018-12-Nightly/workspace/repository/ ']'
+ '[' '!' -d ../../Papyrus-Compare-2018-12-Nightly/workspace/repository/ ']'
+ '[' -z nightly ']'
++ echo nightly
++ tr '[:upper:]' '[:lower:]'
+ BUILD_TYPE=nightly
+ case "$BUILD_TYPE" in
+ BUILD_PREFIX=N
+ '[' -z 2019-11-04_19-28-23 ']'
+ echo 2019-11-04_19-28-23
+ grep -E '^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}-[0-9]{2}-[0-9]{2}$'
+ '[' 0 -ne 0 ']'
+ '[' -z 0.7.0 ']'
+ echo 0.7.0
+ grep -E '^[0-9]+\.[0-9]+\.[0-9]+$'
+ '[' 0 -ne 0 ']'
+ set -e
++ minorStream 0.7.0
++ local version=0.7.0
++ echo 0.7.0
++ sed -r -e 's/^([0-9]+\.[0-9]+\.).*$/\1x/'
+ export MINOR_STREAM=0.7.x
+ MINOR_STREAM=0.7.x
++ majorStream 0.7.0
++ local version=0.7.0
++ echo 0.7.0
++ sed -r -e 's/^([0-9]+\.).*$/\1x/'
+ export MAJOR_STREAM=0.x
+ MAJOR_STREAM=0.x
++ buildTimestamp 2019-11-04_19-28-23
++ local buildId=2019-11-04_19-28-23
++ echo 2019-11-04_19-28-23
++ sed -e s/-//g -e s/_/-/
+ export BUILD_TIMESTAMP=20191104-192823
+ BUILD_TIMESTAMP=20191104-192823
+ export FULL_VERSION=0.7.0-N20191104-192823
+ FULL_VERSION=0.7.0-N20191104-192823
+ export BUILD_PATH=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ BUILD_PATH=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ export UPDATE_SITE_PATH=
+ UPDATE_SITE_PATH=
+ export UPDATE_SITE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ UPDATE_SITE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ echo 'Publishing build /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823'
Publishing build /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ cp -a /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//artifacts.jar /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//artifacts.xml.xz /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//buildinfo.json /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//category.xml /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//content.jar /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//content.xml.xz /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//features /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//index.html /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//p2.index /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//plugins /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//site.properties /home/hudson/genie.papyrus/.jenkins/jobs/Papyrus-Compare-Publish/workspace/../../Papyrus-Compare-2018-12-Nightly/workspace/repository//web /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ env
+ sort
+ echo 'Adding http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 to composites repositories:'
Adding http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 to composites repositories:
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0 -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare 0.7.0 nightly builds'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0
+ cat
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.x'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.x
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.x -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare 0.7.x nightly builds'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.x
+ cat
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.x'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.x
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.x -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare 0.x nightly builds'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.x
+ cat
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare nightly builds'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ cat
+ echo 'Redirecting '\''latest'\'' repositories to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823:'
Redirecting 'latest' repositories to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823:
+ visitVersions /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly updateLatestRedirections 0.7.0
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local callback=updateLatestRedirections
+ local version=0.7.0
++ allMajors /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
++ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
++ sed -r -e 's#^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-([NIR])([0-9]{8})-([0-9]{6})$#\1#'
++ findGnuRegex /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$' -type d
++ sort -un
++ args=
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$ -type'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$ -type d'
++ set -f
++ command find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$' -type d
++ find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?$' -type d
++ set +f
+ allMajors=0
++ echo 0
++ tail -1
+ latestMajor=0
+ for major in '$allMajors'
++ allMinors /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0
++ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
++ local major=0
++ findGnuRegex /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ args=
++ sort -un
++ sed -r -e 's#^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-([NIR])([0-9]{8})-([0-9]{6})$#\2#'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$ -type'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$ -type d'
++ set -f
++ command find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.[0-9]+\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ set +f
+ allMinors=7
++ echo 7
++ tail -1
+ latestMinor=7
+ for minor in '$allMinors'
++ allMicros /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0 7
++ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
++ local major=0
++ local minor=7
++ findGnuRegex /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ args=
++ sed -r -e 's#^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?([0-9]+)\.([0-9]+)\.([0-9]+)-([NIR])([0-9]{8})-([0-9]{6})$#\3#'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$'
++ for arg in '$*'
++ case $arg in
++ sort -un
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$ -type'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$ -type d'
++ set -f
++ command find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.[0-9]+-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ set +f
+ allMicros=0
++ echo 0
++ tail -1
+ latestMicro=0
+ for micro in '$allMicros'
++ allBuilds /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0 7 0
++ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
++ local major=0
++ local minor=7
++ local micro=0
++ findGnuRegex /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ sed -r -e 's#/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?##'
++ args=
++ sort -u
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$ -type'
++ for arg in '$*'
++ case $arg in
++ args=' /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex ^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$ -type d'
++ set -f
++ command find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ find /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly -regextype posix-extended -regex '^/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/?0\.7\.0-[NIR][0-9]{8}-[0-9]{6}$' -type d
++ set +f
+ allBuilds='0.7.0-N20190115-192613
0.7.0-N20190116-192616
0.7.0-N20190117-103132
0.7.0-N20190117-192759
0.7.0-N20190119-192844
0.7.0-N20190121-192845
0.7.0-N20190122-192817
0.7.0-N20190123-032038
0.7.0-N20190123-192836
0.7.0-N20190124-192745
0.7.0-N20190125-193133
0.7.0-N20190126-192711
0.7.0-N20190128-192812
0.7.0-N20190129-192756
0.7.0-N20190130-192734
0.7.0-N20190201-192814
0.7.0-N20190202-192819
0.7.0-N20190204-192822
0.7.0-N20190205-192742
0.7.0-N20190206-192743
0.7.0-N20190207-192743
0.7.0-N20190208-192850
0.7.0-N20190211-192749
0.7.0-N20190212-192808
0.7.0-N20190213-192756
0.7.0-N20190214-193049
0.7.0-N20190215-192820
0.7.0-N20190216-192807
0.7.0-N20190218-034413
0.7.0-N20190218-192802
0.7.0-N20190219-070237
0.7.0-N20190219-074754
0.7.0-N20190219-192726
0.7.0-N20190220-192756
0.7.0-N20190221-025838
0.7.0-N20190221-095152
0.7.0-N20190221-192651
0.7.0-N20190222-192830
0.7.0-N20190223-192808
0.7.0-N20190225-192812
0.7.0-N20190226-192816
0.7.0-N20190227-192753
0.7.0-N20190228-192802
0.7.0-N20190301-192852
0.7.0-N20190302-192753
0.7.0-N20190304-193208
0.7.0-N20190305-192809
0.7.0-N20190306-192817
0.7.0-N20190308-192817
0.7.0-N20190311-192815
0.7.0-N20190312-192753
0.7.0-N20190313-192816
0.7.0-N20190314-192759
0.7.0-N20190315-192750
0.7.0-N20190316-192812
0.7.0-N20190319-192738
0.7.0-N20190320-192841
0.7.0-N20190321-192739
0.7.0-N20190322-193116
0.7.0-N20190323-192744
0.7.0-N20190325-131909
0.7.0-N20190325-192715
0.7.0-N20190326-192746
0.7.0-N20190327-192729
0.7.0-N20190328-192742
0.7.0-N20190329-192743
0.7.0-N20190330-192736
0.7.0-N20190401-192808
0.7.0-N20190402-192736
0.7.0-N20190403-192817
0.7.0-N20190404-192800
0.7.0-N20190405-192758
0.7.0-N20190406-192751
0.7.0-N20190408-192758
0.7.0-N20190409-192732
0.7.0-N20190410-192757
0.7.0-N20190411-193145
0.7.0-N20190412-192758
0.7.0-N20190413-192800
0.7.0-N20190415-192758
0.7.0-N20190416-192725
0.7.0-N20190417-192751
0.7.0-N20190418-192749
0.7.0-N20190419-192727
0.7.0-N20190420-192730
0.7.0-N20190423-192801
0.7.0-N20190424-192755
0.7.0-N20190425-192800
0.7.0-N20190426-192758
0.7.0-N20190427-192731
0.7.0-N20190429-192749
0.7.0-N20190501-193115
0.7.0-N20190502-192753
0.7.0-N20190503-192806
0.7.0-N20190504-192809
0.7.0-N20190506-192900
0.7.0-N20190507-192734
0.7.0-N20190508-192737
0.7.0-N20190509-192734
0.7.0-N20190510-192742
0.7.0-N20190511-192740
0.7.0-N20190513-192731
0.7.0-N20190514-192715
0.7.0-N20190515-192748
0.7.0-N20190516-192859
0.7.0-N20190517-192737
0.7.0-N20190518-192902
0.7.0-N20190520-105132
0.7.0-N20190605-192718
0.7.0-N20190606-192940
0.7.0-N20190608-192724
0.7.0-N20190610-192755
0.7.0-N20190611-192741
0.7.0-N20190612-192831
0.7.0-N20190613-192755
0.7.0-N20190614-192748
0.7.0-N20190615-192746
0.7.0-N20190617-192753
0.7.0-N20190704-192713
0.7.0-N20190705-193206
0.7.0-N20190706-192759
0.7.0-N20190919-102822
0.7.0-N20190919-192703
0.7.0-N20190920-192757
0.7.0-N20190921-192743
0.7.0-N20190923-192806
0.7.0-N20190924-105842
0.7.0-N20190924-192713
0.7.0-N20190925-192800
0.7.0-N20190926-192730
0.7.0-N20190927-193042
0.7.0-N20190928-192747
0.7.0-N20190930-192801
0.7.0-N20191001-192743
0.7.0-N20191002-192743
0.7.0-N20191004-192749
0.7.0-N20191005-192737
0.7.0-N20191007-192740
0.7.0-N20191008-192740
0.7.0-N20191009-085838
0.7.0-N20191009-192708
0.7.0-N20191010-193026
0.7.0-N20191011-193016
0.7.0-N20191012-192747
0.7.0-N20191014-192741
0.7.0-N20191015-115756
0.7.0-N20191015-192722
0.7.0-N20191017-193201
0.7.0-N20191018-192804
0.7.0-N20191019-192737
0.7.0-N20191021-192759
0.7.0-N20191022-192748
0.7.0-N20191023-192756
0.7.0-N20191024-192801
0.7.0-N20191025-192817
0.7.0-N20191026-192746
0.7.0-N20191028-192750
0.7.0-N20191030-192829
0.7.0-N20191031-192740
0.7.0-N20191101-192813
0.7.0-N20191102-192747
0.7.0-N20191104-192823'
++ echo '0.7.0-N20190115-192613
0.7.0-N20190116-192616
0.7.0-N20190117-103132
0.7.0-N20190117-192759
0.7.0-N20190119-192844
0.7.0-N20190121-192845
0.7.0-N20190122-192817
0.7.0-N20190123-032038
0.7.0-N20190123-192836
0.7.0-N20190124-192745
0.7.0-N20190125-193133
0.7.0-N20190126-192711
0.7.0-N20190128-192812
0.7.0-N20190129-192756
0.7.0-N20190130-192734
0.7.0-N20190201-192814
0.7.0-N20190202-192819
0.7.0-N20190204-192822
0.7.0-N20190205-192742
0.7.0-N20190206-192743
0.7.0-N20190207-192743
0.7.0-N20190208-192850
0.7.0-N20190211-192749
0.7.0-N20190212-192808
0.7.0-N20190213-192756
0.7.0-N20190214-193049
0.7.0-N20190215-192820
0.7.0-N20190216-192807
0.7.0-N20190218-034413
0.7.0-N20190218-192802
0.7.0-N20190219-070237
0.7.0-N20190219-074754
0.7.0-N20190219-192726
0.7.0-N20190220-192756
0.7.0-N20190221-025838
0.7.0-N20190221-095152
0.7.0-N20190221-192651
0.7.0-N20190222-192830
0.7.0-N20190223-192808
0.7.0-N20190225-192812
0.7.0-N20190226-192816
0.7.0-N20190227-192753
0.7.0-N20190228-192802
0.7.0-N20190301-192852
0.7.0-N20190302-192753
0.7.0-N20190304-193208
0.7.0-N20190305-192809
0.7.0-N20190306-192817
0.7.0-N20190308-192817
0.7.0-N20190311-192815
0.7.0-N20190312-192753
0.7.0-N20190313-192816
0.7.0-N20190314-192759
0.7.0-N20190315-192750
0.7.0-N20190316-192812
0.7.0-N20190319-192738
0.7.0-N20190320-192841
0.7.0-N20190321-192739
0.7.0-N20190322-193116
0.7.0-N20190323-192744
0.7.0-N20190325-131909
0.7.0-N20190325-192715
0.7.0-N20190326-192746
0.7.0-N20190327-192729
0.7.0-N20190328-192742
0.7.0-N20190329-192743
0.7.0-N20190330-192736
0.7.0-N20190401-192808
0.7.0-N20190402-192736
0.7.0-N20190403-192817
0.7.0-N20190404-192800
0.7.0-N20190405-192758
0.7.0-N20190406-192751
0.7.0-N20190408-192758
0.7.0-N20190409-192732
0.7.0-N20190410-192757
0.7.0-N20190411-193145
0.7.0-N20190412-192758
0.7.0-N20190413-192800
0.7.0-N20190415-192758
0.7.0-N20190416-192725
0.7.0-N20190417-192751
0.7.0-N20190418-192749
0.7.0-N20190419-192727
0.7.0-N20190420-192730
0.7.0-N20190423-192801
0.7.0-N20190424-192755
0.7.0-N20190425-192800
0.7.0-N20190426-192758
0.7.0-N20190427-192731
0.7.0-N20190429-192749
0.7.0-N20190501-193115
0.7.0-N20190502-192753
0.7.0-N20190503-192806
0.7.0-N20190504-192809
0.7.0-N20190506-192900
0.7.0-N20190507-192734
0.7.0-N20190508-192737
0.7.0-N20190509-192734
0.7.0-N20190510-192742
0.7.0-N20190511-192740
0.7.0-N20190513-192731
0.7.0-N20190514-192715
0.7.0-N20190515-192748
0.7.0-N20190516-192859
0.7.0-N20190517-192737
0.7.0-N20190518-192902
0.7.0-N20190520-105132
0.7.0-N20190605-192718
0.7.0-N20190606-192940
0.7.0-N20190608-192724
0.7.0-N20190610-192755
0.7.0-N20190611-192741
0.7.0-N20190612-192831
0.7.0-N20190613-192755
0.7.0-N20190614-192748
0.7.0-N20190615-192746
0.7.0-N20190617-192753
0.7.0-N20190704-192713
0.7.0-N20190705-193206
0.7.0-N20190706-192759
0.7.0-N20190919-102822
0.7.0-N20190919-192703
0.7.0-N20190920-192757
0.7.0-N20190921-192743
0.7.0-N20190923-192806
0.7.0-N20190924-105842
0.7.0-N20190924-192713
0.7.0-N20190925-192800
0.7.0-N20190926-192730
0.7.0-N20190927-193042
0.7.0-N20190928-192747
0.7.0-N20190930-192801
0.7.0-N20191001-192743
0.7.0-N20191002-192743
0.7.0-N20191004-192749
0.7.0-N20191005-192737
0.7.0-N20191007-192740
0.7.0-N20191008-192740
0.7.0-N20191009-085838
0.7.0-N20191009-192708
0.7.0-N20191010-193026
0.7.0-N20191011-193016
0.7.0-N20191012-192747
0.7.0-N20191014-192741
0.7.0-N20191015-115756
0.7.0-N20191015-192722
0.7.0-N20191017-193201
0.7.0-N20191018-192804
0.7.0-N20191019-192737
0.7.0-N20191021-192759
0.7.0-N20191022-192748
0.7.0-N20191023-192756
0.7.0-N20191024-192801
0.7.0-N20191025-192817
0.7.0-N20191026-192746
0.7.0-N20191028-192750
0.7.0-N20191030-192829
0.7.0-N20191031-192740
0.7.0-N20191101-192813
0.7.0-N20191102-192747
0.7.0-N20191104-192823'
++ tail -1
+ latestBuild=0.7.0-N20191104-192823
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190115-192613 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190115-192613
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190116-192616 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190116-192616
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190117-103132 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190117-103132
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
+++ echo 0.7.0
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190117-192759 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190117-192759
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190119-192844 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190119-192844
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190121-192845 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190121-192845
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190122-192817 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190122-192817
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190123-032038 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190123-032038
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
+++ echo 0.7.1.0
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190123-192836 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190123-192836
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190124-192745 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190124-192745
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190125-193133 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190125-193133
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190126-192711 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190126-192711
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190128-192812 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190128-192812
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190129-192756 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190129-192756
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190130-192734 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190130-192734
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190201-192814 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190201-192814
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190202-192819 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190202-192819
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190204-192822 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190204-192822
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190205-192742 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190205-192742
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190206-192743 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190206-192743
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190207-192743 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190207-192743
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190208-192850 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190208-192850
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190211-192749 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190211-192749
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190212-192808 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190212-192808
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190213-192756 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190213-192756
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.0
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.0
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190214-193049 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190214-193049
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190215-192820 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190215-192820
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190216-192807 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190216-192807
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190218-034413 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190218-034413
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190218-192802 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190218-192802
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
+++ echo 0.7.0
++ thisQualifier=
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
+++ echo 0.7.1.0
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190219-070237 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190219-070237
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190219-074754 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190219-074754
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190219-192726 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190219-192726
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190220-192756 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190220-192756
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190221-025838 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190221-025838
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190221-095152 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190221-095152
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190221-192651 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190221-192651
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190222-192830 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190222-192830
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190223-192808 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190223-192808
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190225-192812 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190225-192812
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190226-192816 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190226-192816
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.1.0
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
+++ echo 0.8.0
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190227-192753 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190227-192753
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190228-192802 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190228-192802
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190301-192852 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190301-192852
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190302-192753 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190302-192753
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190304-193208 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190304-193208
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190305-192809 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190305-192809
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190306-192817 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190306-192817
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190308-192817 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190308-192817
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190311-192815 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190311-192815
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190312-192753 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190312-192753
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.0
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190313-192816 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190313-192816
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190314-192759 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190314-192759
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
+++ echo 0.7.0
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190315-192750 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190315-192750
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190316-192812 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190316-192812
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190319-192738 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190319-192738
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190320-192841 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190320-192841
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190321-192739 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190321-192739
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190322-193116 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190322-193116
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190323-192744 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190323-192744
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190325-131909 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190325-131909
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190325-192715 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190325-192715
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190326-192746 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190326-192746
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190327-192729 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190327-192729
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190328-192742 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190328-192742
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190329-192743 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190329-192743
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190330-192736 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190330-192736
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190401-192808 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190401-192808
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190402-192736 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190402-192736
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190403-192817 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190403-192817
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190404-192800 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190404-192800
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.1.0
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190405-192758 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190405-192758
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190406-192751 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190406-192751
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190408-192758 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190408-192758
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190409-192732 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190409-192732
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190410-192757 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190410-192757
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190411-193145 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190411-193145
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
+++ echo 0.7.0
++ thisMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190412-192758 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190412-192758
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thisMinor=7
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.0
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190413-192800 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190413-192800
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190415-192758 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190415-192758
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190416-192725 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190416-192725
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190417-192751 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190417-192751
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190418-192749 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190418-192749
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190419-192727 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190419-192727
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190420-192730 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190420-192730
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190423-192801 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190423-192801
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190424-192755 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190424-192755
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190425-192800 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190425-192800
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190426-192758 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190426-192758
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190427-192731 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190427-192731
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190429-192749 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190429-192749
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190501-193115 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190501-193115
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190502-192753 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190502-192753
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190503-192806 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190503-192806
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190504-192809 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190504-192809
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190506-192900 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190506-192900
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190507-192734 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190507-192734
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190508-192737 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190508-192737
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190509-192734 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190509-192734
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190510-192742 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190510-192742
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190511-192740 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190511-192740
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190513-192731 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190513-192731
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190514-192715 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190514-192715
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
+++ echo 0.7.0
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190515-192748 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190515-192748
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
+++ echo 0.7.1.0
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
+++ echo 0.7.1.0
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190516-192859 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190516-192859
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190517-192737 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190517-192737
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190518-192902 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190518-192902
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190520-105132 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190520-105132
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190605-192718 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190605-192718
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190606-192940 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190606-192940
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
+++ echo 0.7.0
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190608-192724 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190608-192724
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190610-192755 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190610-192755
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190611-192741 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190611-192741
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190612-192831 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190612-192831
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190613-192755 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190613-192755
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
+++ echo 0.7.0
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190614-192748 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190614-192748
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190615-192746 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190615-192746
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190617-192753 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190617-192753
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190704-192713 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190704-192713
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190705-193206 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190705-193206
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190706-192759 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190706-192759
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
++ compareOSGIVersions 0.7.0 0.8.0
++ local this=0.7.0
++ local that=0.8.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=8
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.8.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.8.0'\'''
'0.8.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 8 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 7 -eq 7 ']'
++ compareOSGIVersions 0.7.0 1.0.0
++ local this=0.7.0
++ local that=1.0.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=1
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 1.0.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''1'\'''
'0' => '1'
++ echo ''\''1.0.0'\'''
'1.0.0'
++ '[' 0 -ne 1 ']'
++ echo -1
-1
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ createRedirect /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 'Papyrus Compare latest nightly build'
+ local from=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ local to=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local 'name=Papyrus Compare latest nightly build'
+ mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeArtifacts.jar
+ rm -f /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest/compositeContent.jar
+ /shared/common/jdk1.8.0_x64-latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823 -repositoryName 'Papyrus Compare latest nightly build'
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.papyrus -DforkCount=1
+ createP2Index /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/latest
+ cat
+ return 0
+ for build in '$allBuilds'
+ updateLatestRedirections /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly 0.7.0 0 7 0 0.7.0-N20190919-102822 0 7 0 0.7.0-N20191104-192823
+ local path=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly
+ local versionToPublish=0.7.0
+ local visitedMajor=0
+ local visitedMinor=7
+ local visitedMicro=0
+ local visitedBuild=0.7.0-N20190919-102822
+ local latestMajor=0
+ local latestMinor=7
+ local latestMicro=0
+ local latestBuild=0.7.0-N20191104-192823
+ local updateSiteURL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/nightly/0.7.0-N20191104-192823
+ local nextMajor=1.0.0
+ local nextMinor=0.8.0
+ local nextMicro=0.7.1.0
++ compareOSGIVersions 0.7.0 0.7.0
++ local this=0.7.0
++ local that=0.7.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=
++ echo ''\''0'\'' => '\''0'\'''
'0' => '0'
++ echo ''\''0.7.0'\'''
'0.7.0'
++ '[' 0 -ne 0 ']'
++ '[' 7 -ne 7 ']'
++ '[' 0 -ne 0 ']'
++ [[ '' != '' ]]
++ echo 0
0
++ echo 0
+ '[' 0 -ge 0 ']'
++ compareOSGIVersions 0.7.0 0.7.1.0
++ local this=0.7.0
++ local that=0.7.1.0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thisMajor=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thisMinor=7
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thisMicro=0
+++ echo 0.7.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thisQualifier=
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\1/'
++ thatMajor=0.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\2/'
++ thatMinor=7.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\3/'
++ thatMicro=1.0
+++ echo 0.7.1.0
+++ sed -r -e 's/([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?/\4\5/'
++ thatQualifier=.0
++ echo ''\''0'\'' => '\''0.0'\'''
'0' => '0.0'
++ echo ''\''0.7.1.0'\'''
'0.7.1.0'
++ '[' 0 -ne 0.0 ']'
compare/releng/scripts/common.sh: line 131: [: 0.0: integer expression expected
++ '[' 7 -ne 7.0 ']'
compare/releng/scripts/common.sh: line 133: [: 7.0: integer expression expected
++ '[' 0 -ne 1.0 ']'
compare/releng/scripts/common.sh: line 135: [: 1.0: integer expression expected
++ [[ '' != \.\0 ]]
++ echo strcmp .0
strcmp .0
++ echo 0
+ '[' 0 -lt 0 ']'
+ '[' 0