Skip to content

Commit cd547d4

Browse files
authored
Merge branch 'main' into anfog/2022822_security_updates
2 parents 1b9d631 + d772503 commit cd547d4

File tree

4 files changed

+47
-9
lines changed

4 files changed

+47
-9
lines changed

azure-pipelines-e2e-tests-template.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ stages:
2424
${{ else }}:
2525
pool:
2626
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
27-
name: NetCore1ESPool-Public
27+
name: NetCore-Public
2828
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
2929
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
3030
name: NetCore1ESPool-Internal
@@ -39,6 +39,20 @@ stages:
3939
pwsh: true
4040
targetType: inline
4141
script: |
42+
$numRetry = 0
43+
$maxRetry = 60*10
44+
45+
while($numRetry -le $maxRetry)
46+
{
47+
sudo fuser -v /var/lib/dpkg/lock-frontend 2>&1
48+
49+
if ($LASTEXITCODE -ne 0) { Break }
50+
51+
sleep 1
52+
$numRetry++
53+
echo "Waited $numRetry s for release of dpkg locks"
54+
}
55+
4256
sudo apt update
4357
sudo apt -y install maven
4458
mvn -version
@@ -169,4 +183,4 @@ stages:
169183
env:
170184
HADOOP_HOME: $(Build.BinariesDirectory)$(PATH_SEPARATOR)hadoop
171185
SPARK_HOME: $(Build.BinariesDirectory)$(PATH_SEPARATOR)spark-${{ test.version }}-bin-hadoop2.7
172-
DOTNET_WORKER_DIR: $(CURRENT_DOTNET_WORKER_DIR)
186+
DOTNET_WORKER_DIR: $(CURRENT_DOTNET_WORKER_DIR)

azure-pipelines.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resources:
4646
repositories:
4747
- repository: forwardCompatibleRelease
4848
type: github
49-
endpoint: dotnet
49+
endpoint: public
5050
name: dotnet/spark
5151
ref: refs/tags/v$(forwardCompatibleRelease)
5252

@@ -366,8 +366,8 @@ stages:
366366
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Linux_3_1)
367367
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Linux_3_1)
368368
- version: '3.2.0'
369-
enableForwardCompatibleTests: false
370-
enableBackwardCompatibleTests: false
369+
enableForwardCompatibleTests: true
370+
enableBackwardCompatibleTests: true
371371
jobOptions:
372372
- pool: 'Windows'
373373
testOptions: ""
@@ -378,8 +378,32 @@ stages:
378378
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Linux_3_2)
379379
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Linux_3_2)
380380
- version: '3.2.1'
381-
enableForwardCompatibleTests: false
382-
enableBackwardCompatibleTests: false
381+
enableForwardCompatibleTests: true
382+
enableBackwardCompatibleTests: true
383+
jobOptions:
384+
- pool: 'Windows'
385+
testOptions: ""
386+
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Windows_3_2)
387+
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Windows_3_2)
388+
- pool: 'Linux'
389+
testOptions: ""
390+
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Linux_3_2)
391+
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Linux_3_2)
392+
- version: '3.2.2'
393+
enableForwardCompatibleTests: true
394+
enableBackwardCompatibleTests: true
395+
jobOptions:
396+
- pool: 'Windows'
397+
testOptions: ""
398+
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Windows_3_2)
399+
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Windows_3_2)
400+
- pool: 'Linux'
401+
testOptions: ""
402+
backwardCompatibleTestOptions: $(backwardCompatibleTestOptions_Linux_3_2)
403+
forwardCompatibleTestOptions: $(forwardCompatibleTestOptions_Linux_3_2)
404+
- version: '3.2.3'
405+
enableForwardCompatibleTests: true
406+
enableBackwardCompatibleTests: true
383407
jobOptions:
384408
- pool: 'Windows'
385409
testOptions: ""

docs/building/ubuntu-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you already have all the pre-requisites, skip to the [build](ubuntu-instructi
4040
```bash
4141
mkdir -p ~/bin/maven
4242
cd ~/bin/maven
43-
wget https://www-us.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
43+
wget https://dlcdn.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
4444
tar -xvzf apache-maven-3.6.3-bin.tar.gz
4545
ln -s apache-maven-3.6.3 current
4646
export M2_HOME=~/bin/maven/current

src/scala/microsoft-spark-3-2/src/main/scala/org/apache/spark/deploy/dotnet/DotnetRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import scala.util.Try
4040
object DotnetRunner extends Logging {
4141
private val DEBUG_PORT = 5567
4242
private val supportedSparkMajorMinorVersionPrefix = "3.2"
43-
private val supportedSparkVersions = Set[String]("3.2.0", "3.2.1")
43+
private val supportedSparkVersions = Set[String]("3.2.0", "3.2.1", "3.2.2", "3.2.3")
4444

4545
val SPARK_VERSION = DotnetUtils.normalizeSparkVersion(spark.SPARK_VERSION)
4646

0 commit comments

Comments
 (0)